how to estimate process timing python

43

how to estimate process timing python -

>>> import timeit
>>> tic=timeit.default_timer()
>>> # Do Stuff
>>> toc=timeit.default_timer()
>>> toc - tic #elapsed time in seconds

Comments

Submit
0 Comments